package com.quick.develop.flowable.domain.draft;

import com.quick.develop.flowable.domain.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.quick.develop.framework.utils.DateUtils.YYYY_MM_DD_HH_MM_SS;

/**
 * @author junyuan.liu
 * @description:
 * @date 2022/6/16 11:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BpmDraftPageReqVO extends PageParam {
    private static final long serialVersionUID = -8641952535057627301L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "流程名称")
    private String processName;

    @ApiModelProperty(value = "创建人")
    private String createdUserCode;

    @ApiModelProperty(value = "创建人")
    private String createdUserName;

    @ApiModelProperty(value = "开始的创建收间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginCreateTime;

    @ApiModelProperty(value = "结束的创建时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endCreateTime;
}
